#ifndef HABITMANAGER_H
#define HABITMANAGER_H

#include <QObject>
#include "habit.h"
class HabitManager : public QObject
{
public:
    HabitManager();
    Habit createHabit(QString title);
    Habit getHabitByIndex(int index);
    void addHabit(Habit habit);
    int getHabitCount();
private:
    QList<Habit> habitList;
};

#endif // HABITMANAGER_H
